package com.amumu.drama.common.modules.member.manager;

import com.amumu.drama.mapper.UmsMemberMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author sunzhuang
 * @date 2024/5/13 14:48
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc todo
 */

@Service
public class UmsMemberManager {

    @Autowired
    private UmsMemberMapper memberMapper;

//    public void updateIntegration(Long id, BigDecimal integration) {
//        UmsMember record = new UmsMember();
//        record.setId(id);
//        record.setIntegration(integration);
//        memberMapper.updateByPrimaryKeySelective(record);
//        MemberCache.INSTANCE.invalidateById(id);
//    }
}
